#include "StdAfx.h"
#include "HXViseme.h"

//-----------------------------------------------------------------------------

HXViseme::HXViseme()
: label(L""),
  duration(-1.0),
  endpoint(-1.0),
  amplitude(-1.0),
  rampFunc(HXBM_DEFAULT)
{
}

HXViseme::HXViseme(const wstring& _label, double _endpoint, double _duration, double _amplitude, HXBlendMode _rampFunc)
: label(_label),
  duration(_duration),
  endpoint(_endpoint),
  amplitude(_amplitude),
  rampFunc(_rampFunc) 
{
}

HXViseme::HXViseme(const wstring& _label, double _amplitude)
: label(_label),
  duration(-1.0),
  endpoint(-1.0),
  amplitude(_amplitude),
  rampFunc(HXBM_DEFAULT) 
{
}

//-----------------------------------------------------------------------------

HXVisemeBlendShape::HXVisemeBlendShape()
: amplitude(1.0f),
  offset(0.0f),
  duration(1.0f),
  rampFunc(HXBM_DEFAULT)
{
}

//-----------------------------------------------------------------------------

HXMovement::HXMovement(HXMovementMode _mode)
: x(0.0f),
  y(0.0f),
  z(0.0f),
  offset(0.0f),
  duration(1.0f),
  rampFunc(HXBM_DEFAULT),
  mode(_mode)
{
}

//-----------------------------------------------------------------------------

HXIdleExpression::HXIdleExpression()
: minInterval(0.0f),
  maxInterval(0.0f),
  minDuration(1.0f),
  maxDuration(1.0f),
  minAmplitude(1.0f),
  maxAmplitude(1.0f),
  minHold(0.0f),
  maxHold(0.0f)
{
}

//-----------------------------------------------------------------------------
